﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Wise Tetris Game</title>
    <link href="styles/gameFieldStyles.css" rel="stylesheet" />
    <script src="scripts/libs/jquery-2.0.2.js"></script>
    <script src="scripts/libs/jquery-ui.js"></script>
    <script src="scripts/prototypeExtensions.js"></script>
    <script src="scripts/settings.js"></script>
    <script src="scripts/gameObject.js"></script>
    <script src="scripts/gameObjectFactory.js"></script>
    <script src="scripts/controllers.js"></script>
    <script src="scripts/nextFigure.js"></script>
    <script src="scripts/scoreBoard.js"></script>
    <script src="scripts/twitterButton.js"></script>

</head>
<body>
    <div id="board"></div>
    <div id="figures"></div>
    <div class="twitter-share-button">
        <a href="https://twitter.com/share" class="twitter-share-button" data-related="yordandar"
            data-lang="en" data-size="large" data-count="none"
            data-text="I have a highscore in the best Tetris game ever!">Tweet</a>
    </div>

    <script>
        var wiseTetrisGameField = gameObjects.GameField.init("#board");
        score = 0;
        // Dash, T, L, J, Z, S, Square
        gameObjectFactory.getRandomFigure();

        engine.render();
        nextFigField.render();
        controls.init();
        statistics.init();

        // nextFigField.render();
        // var nextFigure = nextFig.getFigure();
        // nextFigure.render();
    </script>

    <script src="scripts/twitterButton.js"></script>
    <script src="scripts/highScoreDialog.js"></script>
</body>
</html>
